
	var CUR_LANG = "en";
	var ___labels = {
		en : {
			_MAX_ZOOM_LEVEL : "Max zoom level reached",
			_MIN_ZOOM_LEVEL : "Min zoom level reached",
			_SEARCH_RESULTS : "{0} Pages Found",
			_NO_MATTCHES : "No matches found",
			_V_TITLE: "BookManager",
			shared_emag: "Shared eMag",
			help_startup: "Swipe your finger across the pages to browse the publication\n or double tap on a page to zoom in.\n\nTap to close this message.",
			help_zoom: "Drag the page around to control the zoom view,\npinch in or out to increase or decrease zoom and double tab to close the zoom window.\n\nTap to close this message.",
			loading_startup: "LOADING...",
			trial_limit:  "This eMag was presented in a trial version with a time limitation of 120 seconds. Open the eMag again to review it",
			invalid_search_term: "Enter correct term",
			page_no_text: "[NO TEXT ON THIS PAGE]",
			seed_num: Math.floor(Math.random()*-1 * Math.PI),
			tml_page_text:  "==Page {0}== \n {1} \n\n"
			
			
		}
			
	}
		
	var _$loc = function(label_name, subst){
		var lbl = ___labels[CUR_LANG][label_name];
		if(lbl==null){
			console.error("NO LABEL FOR:"+label_name);
			return "[NOT SET]";
		}

		return (subst)?  _$subst(lbl,  subst) : lbl;
	}				


	
	
	